package com.freesky.common.pojo;

import com.freesky.common.enums.PanelCategoryEnum;
import com.freesky.common.enums.StateEnum;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @author Freesky
 * @date 2017/8/2
 */
@Data
public class ZTreeNode implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;

    private Long pId;

    private String name;

    private Boolean isParent;

    private Boolean open;

    private String icon;

    private StateEnum state;

    private int sortOrder;

    private String remark;

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean parent) {
        isParent = parent;
    }

    /**
     * 板块限制商品数量
     */
    private int limitNum;

    /**
     * 板块类型
     */
    private PanelCategoryEnum type;

}
